from django.urls import path
from .views import *

urlpatterns = [
    # user
    path("role/query", query_role_list, name="queryrole"),
    path("role/add", add_role, name="addrole"),
    path("role/modify", modify_role_auth, name="modifyrole"),
    path("role/delete", delete_role, name="deleterole"),
    path("role/queryauth", query_auth_able_list, name="queryauthrole"),
    # role
    path("user/query", query_user_list, name="queryuser"),
    path("user/add", add_user, name="adduser"),
    path("user/delete", delete_user, name="deleteuser"),
    path("user/modify", modify_user, name="modifyuser"),
    path("user/deletebatch", delete_user_by_batch, name="deleteuserbatch"),
    path("user/queryauthority", query_user_authority, name="queryauthority"),
]
